<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:import href="style/document.xsl" />
  <xsl:import href="/livcos.org/web/style/doc/journal.xsl"/>
  
  <xsl:param name="_rev"/>
  
  <xsl:variable name="url"
    select="concat('/test.livcos.org/data/playground.content', if ($_rev) then concat('?_rev=', $_rev) else '')"/>

  <xsl:template match="/">
    <xsl:apply-templates select="doc($url)/*"/>
  </xsl:template>
  
  <xsl:template name="page_head_extension">
    <link href="{$toRootPath}/livcos.org/web/css/doc.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="script/test_E.js"><!-- --></script>
  </xsl:template>

</xsl:stylesheet>
